Welcome![Sign In][Sign Up]
Location:
Search - JUnit p

Search list

[Program doc软件测试实验报告

Description:

一、实验目的

1.掌握白盒测试、黑盒测试用例的设计。

2.熟悉使用Junit框架进行基于java语言的单元测试。

 

二、实验要求:

1、使用白盒测试用例设计方法为下面的程序设计测试用例:

程序要求:10个铅球中有一个假球(比其他铅球的重量要轻),用天平三次称出假球。

程序设计思路:第一次使用天平分别称5个球,判断轻的一边有假球;拿出轻的5个球,取出其中4个第二次称,两边分别放2个球:如果两边同重,则剩下的球为假球;若两边不同重,拿出轻的两个球称第三次,轻的为假球。

2、使用等价类划分法设计下面的测试用例:

输入三个整数作为边,分别满足一般三角形、等腰三角形和等边三角形。

 


Platform: | Size: 1021082 | Author: qimuhan | Hits:

[AI-NN-PRjgap_2.5_src

Description: java实现的遗传算法, 他的设计需要最小集合的支持, 并且在这个基础上实现更复杂的遗传算法! 目录结构如下: jgap_2.5_src.zip\srcjgap_2.5_src.zip\lib jgap_2.5_src.zip\examples jgap_2.5_src.zip\tests 还有相应的帮助-achieve the genetic algorithm, the design needs the support of the smallest pools, and on the basis of a more complex genetic algorithm! Directory structure is as follows : jgap_2.5_src.zip \ srcjgap_2.5_src.zip \ lib jgap_2.5_src.zip \ examples jgap_2.5_src.zi p \ corresponding tests also help
Platform: | Size: 670720 | Author: star | Hits:

[Software Engineeringjunit

Description: 介绍JUNIT的课件,介绍了JUNIT的使用方法和体系结构,原理-JUnit introduction of courseware, introduced the use of JUnit methods and architecture, the principle of
Platform: | Size: 596992 | Author: hanghang | Hits:

[JSPJavaJDK6.0

Description: Java JDK 6.0学习笔记 1至6章及附录A和附录B 包含java特性、java学习方法、网络资源汇总、jdk下载和安装、path与CLASSPATH的设置、java基本语法、关于对象的认识、数组、字符串(String类))、Ant简介、JUnit简介。 作者:林信良(网络化名良葛格) 学历:台湾大学电机工程学系 经历:SUN教育训练中心讲师-Java JDK 6.0 Study Notes Chapter 1-6 and Appendix A and Appendix B contains the java properties, java learning methods, summary of network resources, jdk download and install, path and CLASSPATH settings, java basic grammar, on the understanding of the object, array, character string (String type)), Ant Introduction, JUnit Introduction. Author: Lin Liang (a pseudonym Liang葛格network) Education: National Taiwan University Department of Electrical Engineering experience: SUN lecturer in education and training center
Platform: | Size: 2442240 | Author: licess | Hits:

[JSP/Javasoftwarebook

Description: 四本经典的英文原版软件测试书籍Software_unit_testing Pragmatic Unit Testing In Java With Junit Artech House - Testing And Quality Assurance For Component Based Software [ebook] addison wesley - effective software testing-Four classic books on the English original software testing
Platform: | Size: 5014528 | Author: l | Hits:

[JSP/JavaManning.JUnit.in.Action.2nd.Edition.Jul.2010.pdf.

Description: JUnit is the leading Java unit testing framework and its version 4.8 significantly improves the Java development process. Designed for productivity, it has extensions for newer application styles—like Ajax and HTML-based presentation layers—and for application frameworks like EJB and OSGi. JUnit in Action, Second Edition is an entirely revised and up-to-date guide to unit testing Java applications. It provides techniques for solving real-world problems such as using mocks for testing isolation, in-container testing for Java EE and database applications, and test automation. In an example-driven style, it covers JUnit 4.8 innovations such as the new annotations that simplify test writing, improved exception handling, and the new assertion methods. Along the way, you ll learn to integrate JUnit with other important open source frameworks and tools.
Platform: | Size: 8903680 | Author: acnipih | Hits:

[Documentseclipse

Description: eclipse快捷键学习 自定义快捷键约定----------------- CTRL+SHIFT+G Bind this to "Generate getters and setters". This is a "must have". alt+shift+p open preferences ctrl+shift+f11 rerun junit test alt+shift+e convert local variable to a field -eclipse shortcut key learning 自定义快捷键约定----------------- CTRL+SHIFT+G Bind this to "Generate getters and setters". This is a "must have". alt+shift+p open preferences ctrl+shift+f11 rerun junit test alt+shift+e convert local variable to a field
Platform: | Size: 6144 | Author: jinritian | Hits:

CodeBus www.codebus.net